package com.huaxinkai.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.opensymphony.xwork2.ActionSupport;

/**
 * Created by liuzh on 2017/5/6.
 */
@Controller
@RequestMapping( value = "*" )
public class BaseController extends ActionSupport{

	private static final long serialVersionUID = -5342741000105730688L;
	
	protected HttpServletRequest requset;
	
	protected HttpServletResponse response;
	
	protected Model model;
	
	
	
	protected HttpServletRequest getRequset() {
		return requset;
	}



	protected void setRequset(HttpServletRequest requset) {
		this.requset = requset;
	}



	protected HttpServletResponse getResponse() {
		return response;
	}



	protected void setResponse(HttpServletResponse response) {
		this.response = response;
	}



	protected Model getModel() {
		return model;
	}



	protected void setModel(Model model) {
		this.model = model;
	}
	 

}
